//
//  DAPersonalBorrowBookTableViewCell.h
//  DAKnowledge
//
//  Created by DreamArts on 16/5/3.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DAPersonalBookManageModel.h"

@class DAPersonalShowBookStatusModel;
@class DAImageView;

@protocol showBookStatus <NSObject>

- (void)showBookStatus:(DAPersonalBookManageModel *)model
            bookStatus:(NSString *)status
             withColor:(UIColor *)color;


@end

@interface DAPersonalBorrowBookTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIImageView *leftBook;
@property (weak, nonatomic) IBOutlet UIImageView *middleBook;
@property (weak, nonatomic) IBOutlet UIImageView *rightBook;
@property (weak, nonatomic) IBOutlet UILabel *leftBorrowTimeLabel;
@property (weak, nonatomic) IBOutlet UIButton *leftButton;
@property (weak, nonatomic) IBOutlet UILabel *middleBorrowTimeLabel;
@property (weak, nonatomic) IBOutlet UIButton *middleButton;
@property (weak, nonatomic) IBOutlet UILabel *rightBorrowTimeLabel;
@property (weak, nonatomic) IBOutlet UIButton *rightButton;
@property (weak, nonatomic) IBOutlet UILabel *bottomLineLabel;

@property (nonatomic, assign) NSInteger number;

@property (nonatomic, weak) id<showBookStatus> delegate;

@property (nonatomic, strong) DAPersonalBookManageModel *leftPersonalBookManageModel;
@property (nonatomic, strong) DAPersonalBookManageModel *midPersonalBookManageModel;
@property (nonatomic, strong) DAPersonalBookManageModel *rightPersonalBookManageModel;

@property (nonatomic, strong) NSMutableArray *modelArray;

@end
